<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Driver_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-driver_id" data-rule="" data-source="driver/index" class="form-control selectpage" name="row[driver_id]" type="text" value="{$row.driver_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_time_begin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_time_begin" data-rule="" class="form-control" name="row[start_time_begin]" type="text" value="{:$row.start_time_begin?datetime($row.start_time_begin):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_time_end')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_time_end" data-rule="" class="form-control" name="row[start_time_end]" type="text" value="{:$row.start_time_end?datetime($row.start_time_end):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_address" data-rule="" class="form-control" name="row[start_address]" type="text" value="{$row.start_address}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_lon')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_lon" data-rule="" class="form-control" name="row[start_lon]" type="number" value="{$row.start_lon}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_lat" data-rule="" class="form-control" name="row[start_lat]" type="number" value="{$row.start_lat}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:$row.end_time?datetime($row.end_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_address" data-rule="" class="form-control" name="row[end_address]" type="text" value="{$row.end_address}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_lon')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_lon" data-rule="" class="form-control" name="row[end_lon]" type="number" value="{$row.end_lon}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_lat" data-rule="" class="form-control" name="row[end_lat]" type="number" value="{$row.end_lat}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_by_driver')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-create_by_driver" data-rule="" class="form-control selectpicker" name="row[create_by_driver]" disabled>
                {foreach name="createByDriverList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.create_by_driver"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="" data-source="user.user/index" data-field="username" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="" class="form-control selectpicker" name="row[type]" disabled>
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Has_monopoly')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-has_monopoly" data-rule="" class="form-control selectpicker" name="row[has_monopoly]" disabled>
                {foreach name="hasMonopolyList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.has_monopoly"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Has_share')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-has_share" data-rule="" class="form-control selectpicker" name="row[has_share]" disabled>
                {foreach name="hasShareList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.has_share"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Has_cargo')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-has_cargo" data-rule="" class="form-control selectpicker" name="row[has_cargo]" disabled>
                {foreach name="hasCargoList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.has_cargo"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_num" data-rule="" class="form-control" name="row[order_num]" type="number" value="{$row.order_num}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_money" data-rule="" class="form-control" step="0.01" name="row[total_money]" type="number" value="{$row.total_money}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_driver_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_driver_money" data-rule="" class="form-control" step="0.01" name="row[total_driver_money]" type="number" value="{$row.total_driver_money}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Begin_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-begin_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[begin_time]" type="text" value="{:$row.begin_time?datetime($row.begin_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Finish_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-finish_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finish_time]" type="text" value="{:$row.finish_time?datetime($row.finish_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cancel_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cancel_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cancel_time]" type="text" value="{:$row.cancel_time?datetime($row.cancel_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}" disabled>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
